package com.example.module_vip.vip

import com.example.lib_net.BaseResponse
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

interface VipApi {

    // 获取预约列表
    @GET("/api/visit-appointments")
    suspend fun getappointmentslist(): BaseResponse<AppointmentsList>

    //创建预约列表
    @POST("/api/visit-appointments")
    suspend fun createappointment(@Body body: AppointmentsListItem): BaseResponse<AppointmentsListItem>
}